package com.example.demo.configuration;

import lombok.Data;

import java.util.HashMap;

@Data
public class QueryPageParam {

    // 默认一页20条
    private static int PAGE_SIZE=10;
    // 默认查询第一页
    private static int PAGE_NUM=1;

    private int pageSize = PAGE_SIZE;
    private int pageNum = PAGE_NUM;
    // 默认输入是空
    private String name = "";
    // 默认性别为2(也就是男女都可以)
    private int sex = 2;
}